import dvTool from "@/pages/dv/dvTool";
import TabsFormPanel from '../TabsFormPanel';

/**
 * HTML
 */
export default class CommonPanel extends TabsFormPanel{

  /**
   * 配置发生变动时
   * @param changedValues
   * @param allValues
   */
  onValuesChange = (changedValues: any, allValues: any) => {
    try{
      console.log('更新结果:', allValues);
      this.chart.update(allValues);
      dvTool.updateAdvanceConfig(this.uid,{option: changedValues});
    }catch(e) {

    }

  }
}
